package com.example.blog.dto.publicDto;

import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotBlank;

@Data
public class AdminInsertDto {
    @NotBlank(message = "不为空")
    private String username;
    @NotBlank(message = "不为空")
    private String password;
    @NotBlank(message = "不为空")
    private MultipartFile avatar;
}
